package com.saltlux.tdd.algorithm;

import java.util.Comparator;
import java.util.logging.Level;
import java.util.logging.Logger;

public class StringValueComparator implements Comparator<String> {
	private static Logger LOG = Logger.getLogger(StringValueComparator.class.toString());
	
	@Override
	public int compare(String from, String to) {
		int comparationResult = from.compareTo(to);
		LOG.info(from + ", " + to + " : " + comparationResult);
		return comparationResult;
	}

}
